ImageGear Professional DLL v18.1 for Windows
SVG
Send Feedback
ImageGear Professional v18.1 > User Guide > Appendices/General Reference > Vector Format Features Supported by ImageGear Professional > SVG

Glossary Item Box

SVG Elements Supported for Reading

SVG Element*

Supported Attributes

Supported Properties

Imported into ImageGear as:

circle

class

id

style

transform

cx

cy

r

 

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-width

visibility

IG_VECT_ENT_ELLIPSE entity.

clipPath

id

-

Clipping region for the specified entity. Use Vector Entity Functions to access clipping regions.

defs

class

id

style

transform

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK entity.

ellipse

class

id

style

transform

cx

cy

rx

ry

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-width

visibility

IG_VECT_ENT_ELLIPSE entity.

font

style

Attributes listed below are only stored and saved back to SVG, but are not used for display:

horiz-origin-x

horiz-origin-y

horiz-adv-x

vert-origin-x

vert-origin-y

vert-adv-y

font-face

See "font-face" element, below.

glyph

See "glyph" element, below.

missing-glyph

See "glyph" element, below.

HIG_VECT_FONT object.

If HIG_VECT_FONT object is created from <font> Svg element, it will be saved as <font> svg tag when writing the image in SVG format. In any other cases HIG_VECT_FONT object will be written as attributes and properties of <text> or <tspan> elements.
font-face

font-family

font-size

font-style

font-weight

units-per-em

Attributes listed below are only stored and saved back to SVG, but are not used for display:

font-stretch

font-variant

  Stored as part of a HIG_VECT_FONT object.

G

class

id

style

transform

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERTION entities.

IG_VECT_ENT_INSERTION references IG_VECT_ENT_BLOCK.

glyph

unicode

d

Attributes listed below are only stored and saved back to SVG, but are not used for display:

horiz-adv-x

vert-adv-y

 

Stored as part of a HIG_VECT_FONT object.

Glyphs that correspond to a sequence of two or more Unicode characters are not supported.

image

class

id

style

transform

xlink:href

x

y

width

height

clip-path

display

visibility

IG_VECT_ENT_RASTER entity.

line

class

id

style

transform

x1

y1

x2

y2

clip-path

color

dash-repeat

display

marker-end

marker-start

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-width

visibility

IG_VECT_ENT_EASYLINE entity.

linearGradient

class

id

style

x1

x2

y1

y2

spreadMethod

gradientTransform

gradientUnits

xlink:href

See ‘stop’ element

HIG_VECT_GRADIENT and HIG_VECT_FILLTYPE objects.

HIG_VECT_FILLTYPE references HIG_VECT_GRADIENT.

marker

class

id

style

transform

markerUnits

refX

refY

markerWidth

markerHeight

orient

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERTION entities.

IG_VECT_ENT_INSERTION references IG_VECT_ENT_BLOCK.

path

class

id

style

transform

d

clip-path

color

dash-repeat

display

fill

fill-opacity

fill-rule

marker-end

marker-start

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

visibility

IG_VECT_ENT_FIGURE entity.

polygon

class

id

style

transform

points

clip-path

color

dash-repeat

display

fill

fill-opacity

fill-rule

marker-end

marker-start

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

visibility

IG_VECT_ENT_POLYLINE entity.

polyline

class

id

style

transform

points

clip-path

color

dash-repeat

display

fill

fill-opacity

fill-rule

marker-end

marker-start

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

visibility stroke-width

visibility

IG_VECT_ENT_POLYLINE entity.

radialGradient

class

id

style

cx

cy

r

fx

fy

spreadMethod

gradientTransform

gradientUnits

xlink:href

See ‘stop’ element

HIG_VECT_GRADIENT and HIG_VECT_FILLTYPE objects.

HIG_VECT_FILLTYPE references HIG_VECT_GRADIENT.

rect

class

id

style

transform

x

y

width

height

rx

ry

clip-path

color

dash-repeat

display

fill

fill-opacity

fill-rule

marker-end

marker-start

opacity

stroke

stroke-dasharray

stroke-width

visibility

IG_VECT_ENT_POLYLINE entity.

stop

class

style

offset

 

stop-color

stop-opacity

Stops within IG_VECT_ENT_GRADIENT. Use Vector Gradient Functions to access the stops.

Svg

class

id

style

transform

x

y

width

height

viewbox

 

clip-path

color

dash-repeat

display

fill

fill-opacity

fill-rule

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

First-level occurrences are interpreted as HIG_VECT_VIEW object.

Nested occurrences are interpreted as IG_VECT_ENT_BLOCK entity.

switch

class

id

style

transform

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERTION entities.

IG_VECT_ENT_INSERTION references IG_VECT_ENT_BLOCK.

symbol

class

id

style

transform

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERTION entities.

IG_VECT_ENT_INSERTION references IG_VECT_ENT_BLOCK.

text

 

class

id

style

transform

x

y

dx

dy

rotate

textLength

lengthAdjust

 

clip-path

display

fill

fill-opacity

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_TEXT entity with one or more HIG_VECT_TEXTOBJ objects.

tspan

class

id

style

transform

x

y

dx

dy

rotate

textLength

lengthAdjust

 

clip-path

display

fill

fill-opacity

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_TEXT entity with one or more HIG_VECT_TEXTOBJ objects.

use

class

id

style

transform

clip-path

color

dash-repeat

display

fill

fill-opacity

opacity

stroke

stroke-dasharray

stroke-linecap

stroke-linejoin

stroke-width

text-anchor

visibility

font-family

font-style

font-variant

font-size

font-weight

font-stretch

font-size-adjust

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERTION entities.

IG_VECT_ENT_INSERTION references IG_VECT_ENT_BLOCK.

* See SVG format specification for details on SVG elements, attributes, and properties: http://www.w3.org/TR/SVG11/

ImageGear Vector Entities and Objects Supported for Writing to SVG Format

ImageGear Entity or Object

Saved as SVG Element /Property

HIG_VECT_FONT object

<font>
      <font-face>
      <glyph>
      <missing-glyph>

HIG_VECT_FONT object is saved as <font> SVG tag only if it has been created from <font> svg element when loading Svg image. In all other cases HIG_VECT_FONT object is saved as attributes and properties of <text> or <tspan> elements.

IG_VECT_ENT_EASYLINE

<line>

IG_VECT_ENT_BLOCK

<g>

IG_VECT_ENT_INSERTION

<use>

IG_VECT_ENT_POLYLINE

<path> or <polyline> depending on whether the entity contains hidden vertices

IG_VECT_ENT_POLYLINEEX

<path>

IG_VECT_ENT_ELLIPSE

<ellipse>

IG_VECT_ENT_ARC

<path>

IG_VECT_ENT_RASTER

<image>

IG_VECT_ENT_BEZIER_CURVE

<path>

IG_VECT_ENT_NURBS_SURFACE

<path>

IG_VECT_ENT SOLID

<polyline>

IG_VECT_ENT_NURBS_CURVE

<polyline>

IG_VECT_ENT_FIGURE

<path>

IG_VECT_ENT_TEXT

<text> with <tspan>

  

Notes:

See Also

ImageGear Supported File Formats Reference > SVG

©2014. Accusoft Corporation. All Rights Reserved.